﻿<div class="wrapper border-bottom white-bg page-heading">
    <div class="col-lg-pull-12">
        <ol class="breadcrumb">
            <li class="active">修改密码</li>
        </ol>
    </div>
</div>
<div ng-controller="accountController">
    <form name="_form" class="form-horizontal w5c-form" w5c-form-validate="model.validateOptions" role="form" novalidate>
        <div class="form-group form-group-sm">
            <label class="col-sm-2 control-label">原来密码</label>
            <div class="col-sm-3">
                <input type="password" name="old_password" class="form-control input-sm" ng-model="model.old_password" required ng-minlength="5" ng-maxlength="15">
            </div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-sm-2 control-label">新密码</label>
            <div class="col-sm-3">
                <input type="password" name="password" class="form-control input-sm" ng-model="model.password" required ng-minlength="5" ng-maxlength="15">
            </div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-sm-2 control-label">确认密码</label>
            <div class="col-sm-3">
                <input type="password" name="re_password" class="form-control input-sm" ng-model="model.re_password" required w5c-repeat="password">
            </div>
        </div>
        <div class="form-group form-group-sm">
            <div class="col-sm-3 col-lg-offset-2">
                <button type="submit" class="btn btn-primary btn-sm" w5c-form-submit="change_pwd()" btn-loading="psdisabled" loading-text="修改中..." ng-disabled="psdisabled">提交修改</button>
            </div>
        </div>
    </form>
</div>
